package com.cykj.pos.util;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: 魏建波
 * Date: 2021/5/27
 * Time: 14:35
 * Description:
 */
public class AygBaseBizException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private Serializable code;

    public AygBaseBizException() {
        super();
    }

    public AygBaseBizException(Serializable code,String message) {
        super(message);
        this.code = code;
    }

    public Serializable getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}